import React, { Component } from 'react';
// import Link from 'umi/link';
// import withRedirect from '@/utils/withRedirect';

export default class Welcome extends Component {
  render() {
    // const { showLinks } = this.props;
    return (
      <>
        <h2>欢迎使用</h2>
        <p>您的快捷办公好伙伴</p>
        {/* {showLinks && (
          <>
            <Link className="link-button" style={{ marginTop: 129 }} to="/register?type=register">
              企业注册
            </Link>
            <Link className="link-button" to={`${withRedirect('/login?userType=admin')}`}>
              超级管理员登录
            </Link>
          </>
        )} */}
      </>
    );
  }
}
